package com.atguigu.spring.aop.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author yanglin
 * @create 2023-12-12 16:50 星期二
 * description:
 */
@Configuration   //表示这是一个配置类
@ComponentScan(basePackages = "com.atguigu.spring.aop.anno")    //要扫描的包
@EnableAspectJAutoProxy(proxyTargetClass = true)  //开启Aspect生成代理对象
public class ConfigAop {
}
